/**
 * 
 */
package STUDENTS.NGUYENVANLONG.OPP.EXAMPLE;

/**
 * @author Linh Chi
 *
 */
public class EXAMPLE01 {
	public static void main(String[] args) {
		STUDENT SV1,SV2,SV3,SV4;
		// khởi tạo
		SV1= new STUDENT();
		SV2= new STUDENT();
		SV3= new STUDENT();
		SV4= new STUDENT();
		// Thiết lập giá trị
		SV1.setRollNo("SV01");
		SV1.setFullName("Hoang Van Thanh");
		SV1.setEmail("thanhhv@gmail.com");
		SV1.setPhone("0988123456");
		
		SV2.setRollNo("SV02");
		SV2.setFullName("Pham Thi Thuy Linh");
		SV2.setEmail("linhptt@gmail.com");
		SV2.setPhone("0988123457");
		
		SV3.setRollNo("SV03");
		SV3.setFullName("Tran Van Hieu");
		SV3.setEmail("hieutv@gmail.com");
		SV3.setPhone("0988123458");
		
		SV4.setRollNo("SV04");
		SV4.setFullName("Nguyen Van Hung");
		SV4.setEmail("hungnv@gmail.com");
		SV4.setPhone("0988123459");
		
		System.out.println("--SV01--");
		SV1.Output();
		System.out.println("--SV02--");
		SV2.Output();
		System.out.println("--SV03--");
		SV3.Output();
		System.out.println("--SV04--");
		SV4.Output();
		
		
	}
}

class STUDENT {
	private String RollNo;
	private String FullName;
	private String Email="abc@gmail.com";
	private String Phone="123456789";

	/**
	 * @return the rollNo
	 */
	public void Output() {
		System.out.println("- RollNo: "+ RollNo);
		System.out.println("- FullName: "+ FullName);
		System.out.println("- Email: "+ Email );
		System.out.println("- Phone: "+ Phone);
	  
	}
	public String getRollNo() {
		return RollNo;
	}

	/**
	 * @param rollNo
	 *            the rollNo to set
	 */
	public void setRollNo(String rollNo) {
		RollNo = rollNo;
	}

	/**
	 * @return the fullName
	 */
	public String getFullName() {
		return FullName;
	}

	/**
	 * @param fullName
	 *            the fullName to set
	 */
	public void setFullName(String fullName) {
		FullName = fullName;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return Email;
	}

	/**
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email) {
		Email = email;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return Phone;
	}

	/**
	 * @param phone
	 *            the phone to set
	 */
	public void setPhone(String phone) {
		Phone = phone;
	}

}